<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <title>Document</title>
</head>
<body>

    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">{{title}}</h3>
            </div>
            <div class="panel-body">
                <form action="" method="POST"novalidate>
                    {% csrf_token %}
                    {% for fields in form%}
                        <div class="form-group">
                            <label for="">{{fields.label}}</label>
                             {{fields}}
                             <span style="color:red">{{fields.errors.0}}</span>
                        </div>
                       
                    {% endfor %}
                    <button class="btn btn-info">提交</button>
                    <!-- {{form.id.label}}:{{form.id}} -->
                    <!-- {{form.mobile.label}}:{{form.mobile}}
                    {{form.price.label}}:{{form.price}}
                    {{form.level.label}}:{{form.level}}
                    {{form.status.label}}:{{form.status}} -->
                </form>
            </div>
        </div>
    </div>
    

</body>
</html>